<!DOCTYPE html>

<html>
  <head>
    <title>Protocol Documentation</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>
    <style>
      body {
        width: 60em;
        margin: 1em auto;
        color: #222;
        font-family: "Ubuntu", sans-serif;
        padding-bottom: 4em;
      }

      h1 {
        font-weight: normal;
        border-bottom: 1px solid #aaa;
        padding-bottom: 0.5ex;
      }

      h2 {
        border-bottom: 1px solid #aaa;
        padding-bottom: 0.5ex;
        margin: 1.5em 0;
      }

      h3 {
        font-weight: normal;
        border-bottom: 1px solid #aaa;
        padding-bottom: 0.5ex;
      }

      a {
        text-decoration: none;
        color: #567e25;
      }

      table {
        width: 100%;
        font-size: 80%;
        border-collapse: collapse;
      }

      thead {
        font-weight: 700;
        background-color: #dcdcdc;
      }

      tbody tr:nth-child(even) {
        background-color: #fbfbfb;
      }

      td {
        border: 1px solid #ccc;
        padding: 0.5ex 2ex;
      }

      td p {
        text-indent: 1em;
        margin: 0;
      }

      td p:nth-child(1) {
        text-indent: 0;  
      }

       
      .field-table td:nth-child(1) {  
        width: 10em;
      }
      .field-table td:nth-child(2) {  
        width: 10em;
      }
      .field-table td:nth-child(3) {  
        width: 6em;
      }
      .field-table td:nth-child(4) {  
        width: auto;
      }

       
      .extension-table td:nth-child(1) {  
        width: 10em;
      }
      .extension-table td:nth-child(2) {  
        width: 10em;
      }
      .extension-table td:nth-child(3) {  
        width: 10em;
      }
      .extension-table td:nth-child(4) {  
        width: 5em;
      }
      .extension-table td:nth-child(5) {  
        width: auto;
      }

       
      .enum-table td:nth-child(1) {  
        width: 10em;
      }
      .enum-table td:nth-child(2) {  
        width: 10em;
      }
      .enum-table td:nth-child(3) {  
        width: auto;
      }

       
      .scalar-value-types-table tr {
        height: 3em;
      }

       
      #toc-container ul {
        list-style-type: none;
        padding-left: 1em;
        line-height: 180%;
        margin: 0;
      }
      #toc > li > a {
        font-weight: bold;
      }

       
      .file-heading {
        width: 100%;
        display: table;
        border-bottom: 1px solid #aaa;
        margin: 4em 0 1.5em 0;
      }
      .file-heading h2 {
        border: none;
        display: table-cell;
      }
      .file-heading a {
        text-align: right;
        display: table-cell;
      }

       
      .badge {
        width: 1.6em;
        height: 1.6em;
        display: inline-block;

        line-height: 1.6em;
        text-align: center;
        font-weight: bold;
        font-size: 60%;

        color: #89ba48;
        background-color: #dff0c8;

        margin: 0.5ex 1em 0.5ex -1em;
        border: 1px solid #fbfbfb;
        border-radius: 1ex;
      }
    </style>

    
    <link rel="stylesheet" type="text/css" href="stylesheet.css"/>
  </head>

  <body>

    <h1 id="title">Protocol Documentation</h1>

    <h2>Table of Contents</h2>

    <div id="toc-container">
      <ul id="toc">
        
          
          <li>
            <a href="#jmash%2fflow%2fflow_rpc.proto">jmash/flow/flow_rpc.proto</a>
            <ul>
              
              
              
              
                <li>
                  <a href="#jmash.flow.Flow"><span class="badge">S</span>Flow</a>
                </li>
              
            </ul>
          </li>
        
        <li><a href="#scalar-value-types">Scalar Value Types</a></li>
      </ul>
    </div>

    
      
      <div class="file-heading">
        <h2 id="jmash/flow/flow_rpc.proto">jmash/flow/flow_rpc.proto</h2><a href="#title">Top</a>
      </div>
      <p></p>

      

      

      

      
        <h3 id="jmash.flow.Flow">Flow</h3>
        <p>Flow Service</p>
        <table class="enum-table">
          <thead>
            <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
          </thead>
          <tbody>
            
              <tr>
                <td>version</td>
                <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
                <td><a href="#google.protobuf.StringValue">.google.protobuf.StringValue</a></td>
                <td><p>版本</p></td>
              </tr>
            
              <tr>
                <td>findEnumList</td>
                <td><a href="#google.protobuf.StringValue">.google.protobuf.StringValue</a></td>
                <td><a href="#jmash.protobuf.EnumValueList">.jmash.protobuf.EnumValueList</a></td>
                <td><p>枚举值列表</p></td>
              </tr>
            
              <tr>
                <td>findEnumMap</td>
                <td><a href="#google.protobuf.StringValue">.google.protobuf.StringValue</a></td>
                <td><a href="#jmash.protobuf.CustomEnumValueMap">.jmash.protobuf.CustomEnumValueMap</a></td>
                <td><p>枚举值Map</p></td>
              </tr>
            
              <tr>
                <td>findEnumEntry</td>
                <td><a href="#jmash.protobuf.EnumEntryReq">.jmash.protobuf.EnumEntryReq</a></td>
                <td><a href="#jmash.protobuf.EntryList">.jmash.protobuf.EntryList</a></td>
                <td><p>枚举值</p></td>
              </tr>
            
              <tr>
                <td>deployFlow</td>
                <td><a href="#jmash.flow.DeployReq">DeployReq</a></td>
                <td><a href="#jmash.flow.DeployRes">DeployRes</a></td>
                <td><p>部署流程</p></td>
              </tr>
            
              <tr>
                <td>deployFlowXml</td>
                <td><a href="#jmash.flow.DeployXmlReq">DeployXmlReq</a></td>
                <td><a href="#jmash.flow.DeployRes">DeployRes</a></td>
                <td><p>部署XML流程</p></td>
              </tr>
            
              <tr>
                <td>deleteDeployment</td>
                <td><a href="#jmash.flow.DeployKey">DeployKey</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>删除流程部署</p></td>
              </tr>
            
              <tr>
                <td>findProcDefList</td>
                <td><a href="#jmash.flow.ProcDefReq">ProcDefReq</a></td>
                <td><a href="#jmash.flow.ProcDefList">ProcDefList</a></td>
                <td><p>流程定义查询</p></td>
              </tr>
            
              <tr>
                <td>findProcDefById</td>
                <td><a href="#jmash.flow.ProcDefKey">ProcDefKey</a></td>
                <td><a href="#jmash.flow.ProcDefModel">ProcDefModel</a></td>
                <td><p>通过ID查询流程定义</p></td>
              </tr>
            
              <tr>
                <td>findProcDefXmlById</td>
                <td><a href="#jmash.flow.ProcDefKey">ProcDefKey</a></td>
                <td><a href="#google.protobuf.StringValue">.google.protobuf.StringValue</a></td>
                <td><p>通过ID查询流程定义XML</p></td>
              </tr>
            
              <tr>
                <td>findProcDefDiagram</td>
                <td><a href="#jmash.flow.ProcDefKey">ProcDefKey</a></td>
                <td><a href="#google.api.HttpBody">.google.api.HttpBody</a> stream</td>
                <td><p>查询流程图</p></td>
              </tr>
            
              <tr>
                <td>startProcInst</td>
                <td><a href="#jmash.flow.StartProcInstReq">StartProcInstReq</a></td>
                <td><a href="#jmash.flow.ProcInstModel">ProcInstModel</a></td>
                <td><p>启动流程实例</p></td>
              </tr>
            
              <tr>
                <td>findMyTodoTaskPage</td>
                <td><a href="#jmash.flow.TaskReq">TaskReq</a></td>
                <td><a href="#jmash.flow.TaskPage">TaskPage</a></td>
                <td><p>获取我的待办任务</p></td>
              </tr>
            
              <tr>
                <td>findMyDoneProcInstPage</td>
                <td><a href="#jmash.flow.ProcInstReq">ProcInstReq</a></td>
                <td><a href="#jmash.flow.ProcInstPage">ProcInstPage</a></td>
                <td><p>获取我的已办事项</p></td>
              </tr>
            
              <tr>
                <td>findMyFinishProcInstPage</td>
                <td><a href="#jmash.flow.HiProcInstReq">HiProcInstReq</a></td>
                <td><a href="#jmash.flow.HiProcInstPage">HiProcInstPage</a></td>
                <td><p>获取我的办结事项</p></td>
              </tr>
            
              <tr>
                <td>claimTask</td>
                <td><a href="#jmash.flow.TaskClaimReq">TaskClaimReq</a></td>
                <td><a href="#google.protobuf.Int32Value">.google.protobuf.Int32Value</a></td>
                <td><p>批量 认领/取消认领/强制取回 任务</p></td>
              </tr>
            
              <tr>
                <td>findTaskById</td>
                <td><a href="#jmash.flow.TaskKey">TaskKey</a></td>
                <td><a href="#jmash.flow.TaskModel">TaskModel</a></td>
                <td><p>查询任务详情</p></td>
              </tr>
            
              <tr>
                <td>findHiCommentList</td>
                <td><a href="#jmash.flow.ProcInstKey">ProcInstKey</a></td>
                <td><a href="#jmash.flow.HiCommentList">HiCommentList</a></td>
                <td><p>查询流程实例历史办理记录</p></td>
              </tr>
            
              <tr>
                <td>findProcInst</td>
                <td><a href="#jmash.flow.ProcInstKey">ProcInstKey</a></td>
                <td><a href="#jmash.flow.ProcInstModel">ProcInstModel</a></td>
                <td><p>获取流程实例</p></td>
              </tr>
            
              <tr>
                <td>findProcInstVars</td>
                <td><a href="#jmash.flow.ProcInstKey">ProcInstKey</a></td>
                <td><a href="#jmash.flow.ProcInstVars">ProcInstVars</a></td>
                <td><p>获取流程实例变量</p></td>
              </tr>
            
              <tr>
                <td>findProcInstDiagram</td>
                <td><a href="#jmash.flow.ProcInstKey">ProcInstKey</a></td>
                <td><a href="#google.api.HttpBody">.google.api.HttpBody</a> stream</td>
                <td><p>当前流程实例流程图</p></td>
              </tr>
            
              <tr>
                <td>completeTask</td>
                <td><a href="#jmash.flow.TaskHandleReq">TaskHandleReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>执行任务</p></td>
              </tr>
            
              <tr>
                <td>findTaskDefAllowGoback</td>
                <td><a href="#jmash.flow.TaskKey">TaskKey</a></td>
                <td><a href="#jmash.flow.TaskDefList">TaskDefList</a></td>
                <td><p>获取允许退回的当前流程历史历史任务</p></td>
              </tr>
            
              <tr>
                <td>gobackTask</td>
                <td><a href="#jmash.flow.TaskGobackReq">TaskGobackReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>任务退回到选择节点</p></td>
              </tr>
            
              <tr>
                <td>findTaskIdentityLink</td>
                <td><a href="#jmash.flow.TaskIdentityLinkReq">TaskIdentityLinkReq</a></td>
                <td><a href="#jmash.flow.IdentityLinkList">IdentityLinkList</a></td>
                <td><p>查询任务用户</p></td>
              </tr>
            
              <tr>
                <td>findTaskAttachmentList</td>
                <td><a href="#jmash.flow.TaskAttachmentReq">TaskAttachmentReq</a></td>
                <td><a href="#jmash.flow.TaskAttachmentList">TaskAttachmentList</a></td>
                <td><p>任务附件列表查询</p></td>
              </tr>
            
              <tr>
                <td>createTaskAttachment</td>
                <td><a href="#jmash.flow.TaskAttachmentCreateReq">TaskAttachmentCreateReq</a></td>
                <td><a href="#jmash.flow.TaskAttachmentModel">TaskAttachmentModel</a></td>
                <td><p>任务附件列表新增</p></td>
              </tr>
            
              <tr>
                <td>updateTaskAttachment</td>
                <td><a href="#jmash.flow.TaskAttachmentUpdateReq">TaskAttachmentUpdateReq</a></td>
                <td><a href="#jmash.flow.TaskAttachmentModel">TaskAttachmentModel</a></td>
                <td><p>任务附件更新</p></td>
              </tr>
            
              <tr>
                <td>deleteTaskAttachment</td>
                <td><a href="#jmash.flow.TaskAttachmentKey">TaskAttachmentKey</a></td>
                <td><a href="#jmash.flow.TaskAttachmentModel">TaskAttachmentModel</a></td>
                <td><p>任务附件删除</p></td>
              </tr>
            
              <tr>
                <td>assignTask</td>
                <td><a href="#jmash.flow.TaskAssignReq">TaskAssignReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>分配/移交任务给某人或某些候选用户.</p></td>
              </tr>
            
              <tr>
                <td>priorityTask</td>
                <td><a href="#jmash.flow.TaskPriorityReq">TaskPriorityReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>设置任务优先级.</p></td>
              </tr>
            
              <tr>
                <td>delegateTask</td>
                <td><a href="#jmash.flow.TaskDelegateReq">TaskDelegateReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>委托用户办理任务</p></td>
              </tr>
            
              <tr>
                <td>resolveTask</td>
                <td><a href="#jmash.flow.TaskResolveReq">TaskResolveReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>完成委托任务</p></td>
              </tr>
            
              <tr>
                <td>setBusinessStatus</td>
                <td><a href="#jmash.flow.BusinessStatusReq">BusinessStatusReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>设置业务状态</p></td>
              </tr>
            
              <tr>
                <td>findProcInstPage</td>
                <td><a href="#jmash.flow.ProcInstReq">ProcInstReq</a></td>
                <td><a href="#jmash.flow.ProcInstPage">ProcInstPage</a></td>
                <td><p>查询流程实例</p></td>
              </tr>
            
              <tr>
                <td>suspendProcInst</td>
                <td><a href="#jmash.flow.ProcInstSuspendReq">ProcInstSuspendReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>暂停/恢复流程实例.</p></td>
              </tr>
            
              <tr>
                <td>deleteProcInst</td>
                <td><a href="#jmash.flow.ProcInstDeleteReq">ProcInstDeleteReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>删除流程实例.</p></td>
              </tr>
            
              <tr>
                <td>findTaskPage</td>
                <td><a href="#jmash.flow.TaskReq">TaskReq</a></td>
                <td><a href="#jmash.flow.TaskPage">TaskPage</a></td>
                <td><p>查询流程任务</p></td>
              </tr>
            
              <tr>
                <td>suspendTask</td>
                <td><a href="#jmash.flow.TaskSuspendReq">TaskSuspendReq</a></td>
                <td><a href="#google.protobuf.BoolValue">.google.protobuf.BoolValue</a></td>
                <td><p>暂停/恢复任务.</p></td>
              </tr>
            
              <tr>
                <td>findHiTaskinstList</td>
                <td><a href="#jmash.flow.HiTaskinstReq">HiTaskinstReq</a></td>
                <td><a href="#jmash.flow.HiTaskinstList">HiTaskinstList</a></td>
                <td><p>查询列表信息</p></td>
              </tr>
            
              <tr>
                <td>findHiTaskinstById</td>
                <td><a href="#jmash.flow.HiTaskinstKey">HiTaskinstKey</a></td>
                <td><a href="#jmash.flow.HiTaskinstModel">HiTaskinstModel</a></td>
                <td><p>查询</p></td>
              </tr>
            
              <tr>
                <td>findHiProcInstById</td>
                <td><a href="#jmash.flow.HiProcinstKey">HiProcinstKey</a></td>
                <td><a href="#jmash.flow.HiProcInstModel">HiProcInstModel</a></td>
                <td><p>查询流程实例历史信息.</p></td>
              </tr>
            
              <tr>
                <td>findHiProcInstVars</td>
                <td><a href="#jmash.flow.ProcInstKey">ProcInstKey</a></td>
                <td><a href="#jmash.flow.ProcInstVars">ProcInstVars</a></td>
                <td><p>获取历史流程实例变量</p></td>
              </tr>
            
          </tbody>
        </table>

        
          
          
          <h4>Methods with HTTP bindings</h4>
          <table>
            <thead>
              <tr>
                <td>Method Name</td>
                <td>Method</td>
                <td>Pattern</td>
                <td>Body</td>
              </tr>
            </thead>
            <tbody>
            
              
              
              <tr>
                <td>version</td>
                <td>GET</td>
                <td>/v1/flow/version</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findEnumEntry</td>
                <td>GET</td>
                <td>/v1/flow/enum/entry</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>deployFlow</td>
                <td>POST</td>
                <td>/v1/flow/deploy/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>deployFlowXml</td>
                <td>POST</td>
                <td>/v1/flow/deployxml/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>deleteDeployment</td>
                <td>DELETE</td>
                <td>/v1/flow/deploy/{tenant}/{deployment_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcDefList</td>
                <td>GET</td>
                <td>/v1/flow/prodef/list/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcDefById</td>
                <td>GET</td>
                <td>/v1/flow/prodef/id/{tenant}/{proc_def_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcDefXmlById</td>
                <td>GET</td>
                <td>/v1/flow/prodef/xml/{tenant}/{proc_def_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcDefDiagram</td>
                <td>GET</td>
                <td>/v1/flow/prodef/diagram/{tenant}/{proc_def_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>startProcInst</td>
                <td>POST</td>
                <td>/v1/flow/procinst/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>findMyTodoTaskPage</td>
                <td>GET</td>
                <td>/v1/flow/task/mytodo/page/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findMyDoneProcInstPage</td>
                <td>GET</td>
                <td>/v1/flow/task/mydone/page/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findMyFinishProcInstPage</td>
                <td>GET</td>
                <td>/v1/flow/task/myfinish/page/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>claimTask</td>
                <td>POST</td>
                <td>/v1/flow/task/claim/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>findTaskById</td>
                <td>GET</td>
                <td>/v1/flow/task/id/{tenant}/{task_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findHiCommentList</td>
                <td>GET</td>
                <td>/v1/flow/hicomment/list/{tenant}/{proc_inst_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcInst</td>
                <td>GET</td>
                <td>/v1/flow/procinst/id/{tenant}/{proc_inst_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcInstVars</td>
                <td>GET</td>
                <td>/v1/flow/procinst/vars/{tenant}/{proc_inst_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcInstDiagram</td>
                <td>GET</td>
                <td>/v1/flow/procinst/list/{tenant}/{proc_inst_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>completeTask</td>
                <td>POST</td>
                <td>/v1/flow/task/complete/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>findTaskDefAllowGoback</td>
                <td>GET</td>
                <td>/v1/flow/taskdef/goback/list/{tenant}/{task_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>gobackTask</td>
                <td>POST</td>
                <td>/v1/flow/task/goback/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>findTaskIdentityLink</td>
                <td>GET</td>
                <td>/v1/flow/task/identity_link/{tenant}/{task_id}/{type}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findTaskAttachmentList</td>
                <td>GET</td>
                <td>/v1/flow/task/attachment/list/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>createTaskAttachment</td>
                <td>POST</td>
                <td>/v1/flow/task/attachment</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>updateTaskAttachment</td>
                <td>PATCH</td>
                <td>/v1/flow/task/attachment</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>deleteTaskAttachment</td>
                <td>DELETE</td>
                <td>/v1/flow/task/attachment/id</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>assignTask</td>
                <td>POST</td>
                <td>/v1/flow/task/assign/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>priorityTask</td>
                <td>POST</td>
                <td>/v1/flow/task/priority/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>delegateTask</td>
                <td>POST</td>
                <td>/v1/flow/task/delegate/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>resolveTask</td>
                <td>POST</td>
                <td>/v1/flow/task/resolve/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>findProcInstPage</td>
                <td>GET</td>
                <td>/v1/flow/procinst/page/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>suspendProcInst</td>
                <td>POST</td>
                <td>/v1/flow/procinst/suspend/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>deleteProcInst</td>
                <td>DELETE</td>
                <td>/v1/flow/procinst/delete/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findTaskPage</td>
                <td>GET</td>
                <td>/v1/flow/task/page/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>suspendTask</td>
                <td>POST</td>
                <td>/v1/flow/task/suspend/{tenant}</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>findHiTaskinstList</td>
                <td>GET</td>
                <td>/v1/flow/hi_taskinst/list/{tenant}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findHiTaskinstById</td>
                <td>GET</td>
                <td>/v1/flow/hi_taskinst/id/{tenant}/{id_}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findHiProcInstById</td>
                <td>GET</td>
                <td>/v1/flow/hi_procinst/id/{tenant}/{id_}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>findHiProcInstVars</td>
                <td>GET</td>
                <td>/v1/flow/hi_procinst/vars/{tenant}/{proc_inst_id}</td>
                <td></td>
              </tr>
              
            
            </tbody>
          </table>
          
        
    

    <h2 id="scalar-value-types">Scalar Value Types</h2>
    <table class="scalar-value-types-table">
      <thead>
        <tr><td>.proto Type</td><td>Notes</td><td>C++</td><td>Java</td><td>Python</td><td>Go</td><td>C#</td><td>PHP</td><td>Ruby</td></tr>
      </thead>
      <tbody>
        
          <tr id="double">
            <td>double</td>
            <td></td>
            <td>double</td>
            <td>double</td>
            <td>float</td>
            <td>float64</td>
            <td>double</td>
            <td>float</td>
            <td>Float</td>
          </tr>
        
          <tr id="float">
            <td>float</td>
            <td></td>
            <td>float</td>
            <td>float</td>
            <td>float</td>
            <td>float32</td>
            <td>float</td>
            <td>float</td>
            <td>Float</td>
          </tr>
        
          <tr id="int32">
            <td>int32</td>
            <td>Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.</td>
            <td>int32</td>
            <td>int</td>
            <td>int</td>
            <td>int32</td>
            <td>int</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="int64">
            <td>int64</td>
            <td>Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.</td>
            <td>int64</td>
            <td>long</td>
            <td>int/long</td>
            <td>int64</td>
            <td>long</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="uint32">
            <td>uint32</td>
            <td>Uses variable-length encoding.</td>
            <td>uint32</td>
            <td>int</td>
            <td>int/long</td>
            <td>uint32</td>
            <td>uint</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="uint64">
            <td>uint64</td>
            <td>Uses variable-length encoding.</td>
            <td>uint64</td>
            <td>long</td>
            <td>int/long</td>
            <td>uint64</td>
            <td>ulong</td>
            <td>integer/string</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="sint32">
            <td>sint32</td>
            <td>Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.</td>
            <td>int32</td>
            <td>int</td>
            <td>int</td>
            <td>int32</td>
            <td>int</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="sint64">
            <td>sint64</td>
            <td>Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.</td>
            <td>int64</td>
            <td>long</td>
            <td>int/long</td>
            <td>int64</td>
            <td>long</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="fixed32">
            <td>fixed32</td>
            <td>Always four bytes. More efficient than uint32 if values are often greater than 2^28.</td>
            <td>uint32</td>
            <td>int</td>
            <td>int</td>
            <td>uint32</td>
            <td>uint</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="fixed64">
            <td>fixed64</td>
            <td>Always eight bytes. More efficient than uint64 if values are often greater than 2^56.</td>
            <td>uint64</td>
            <td>long</td>
            <td>int/long</td>
            <td>uint64</td>
            <td>ulong</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="sfixed32">
            <td>sfixed32</td>
            <td>Always four bytes.</td>
            <td>int32</td>
            <td>int</td>
            <td>int</td>
            <td>int32</td>
            <td>int</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="sfixed64">
            <td>sfixed64</td>
            <td>Always eight bytes.</td>
            <td>int64</td>
            <td>long</td>
            <td>int/long</td>
            <td>int64</td>
            <td>long</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="bool">
            <td>bool</td>
            <td></td>
            <td>bool</td>
            <td>boolean</td>
            <td>boolean</td>
            <td>bool</td>
            <td>bool</td>
            <td>boolean</td>
            <td>TrueClass/FalseClass</td>
          </tr>
        
          <tr id="string">
            <td>string</td>
            <td>A string must always contain UTF-8 encoded or 7-bit ASCII text.</td>
            <td>string</td>
            <td>String</td>
            <td>str/unicode</td>
            <td>string</td>
            <td>string</td>
            <td>string</td>
            <td>String (UTF-8)</td>
          </tr>
        
          <tr id="bytes">
            <td>bytes</td>
            <td>May contain any arbitrary sequence of bytes.</td>
            <td>string</td>
            <td>ByteString</td>
            <td>str</td>
            <td>[]byte</td>
            <td>ByteString</td>
            <td>string</td>
            <td>String (ASCII-8BIT)</td>
          </tr>
        
      </tbody>
    </table>
  </body>
</html>

